home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
wais
/
ir
/
sigindex.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-05-09
|
1KB
|
66 lines
/* WIDE AREA INFORMATION SERVER SOFTWARE:
No guarantees or restrictions. See the readme file for the full standard
disclaimer.
Brewster@think.com
*/
/* Include file for the irhash.c file.
Implements the building functions in irext.h */
#ifndef SIGINDEX_H
#define SIGINDEX_H
#include "cdialect.h"
#ifdef __cplusplus
/* declare these as C style functions */
extern "C"
{
#endif /* def __cplusplus */
/* ============================
* === Building Functions ===
* ============================*/
long sig_init_add_word _AP ((database *db, long parameter1, long parameter2));
long sig_add_word _AP((
char *word,
long char_pos,
long line_pos,
long weight,
long doc_id,
time_t date,
long pair_word));
long sig_finished_add_word _AP((database *db));
#ifdef __cplusplus
}
#endif /* def __cplusplus */
/*
* define constants to interface sig functions
*/
/* update types */
#define ONLINE_UPDATE 1
#define BATCH_UPDATE 2
/* operation mode */
#define ADD_UPDATE 1
#define MOD_UPDATE 2
#define DEL_UPDATE 3
#endif /* nded SIGINDEX_H */